
#pragma once
#include "GNSSSatPos.h"
#include "Nread.h"
#include "TimeSys.h"
#include "IonosphericCorrection.h"
#include "TroposphericCorrection.h"

class SPP {
public:
    SPP(const std::string& navFilePath);
    ~SPP();
    XYZ calculateSPP(const std::string& prn, const TimeSys& obsTime);

private:
    NavDataReader navReader;
    IonosphericCorrection ionoCorrection;
    TroposphericCorrection tropoCorrection;
    GPSSatPos gpsCalculator;
    BDSSatPos bdsCalculator;
};